package com.sanpu.kxe.business.trade.bean;

import java.io.Serializable;

/**
 * Description：支付状态
 * Created by 薛勇军 on 2019/3/20.
 */

public class PayStatusOutput implements Serializable {

    /** 交易金额 */
    private String amount;
    /** 交易来源 */
    private String tradeSource;
    /** 订单状态
     * SUCCESS：成功
     * 其它都为失败
     **/
    private String orderStatus;
    /** 订单时间 */
    private String orderTime;

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getTradeSource() {
        return tradeSource;
    }

    public void setTradeSource(String tradeSource) {
        this.tradeSource = tradeSource;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public boolean isSuccess() {
        return "SUCCESS".equals(orderStatus);
    }

    public String getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(String orderTime) {
        this.orderTime = orderTime;
    }
}
